home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Present…nuary (Partner) - Disc 1
/
The Apple Reference and Presentations Library (Disc 1)(January 1994).iso
/
Aldus
/
US English
/
PageMaker 5.0
/
PageMaker 5.0 PPC
/
PM5.0P TV RSRC
/
PM5.0P TV RSRC.rsrc
/
IMPS_1
< prev
next >
Wrap
Text File
|
1994-05-25
|
4KB
|
60 lines
¶%%BeginResource: procset IMAGE_PS 1.0 1
%%Copyright: (C) Copyright 1993 Aldus Corporation. All Rights Reserved.
%%Version:1.0 1
/IMdict 100 dict def IMdict begin/bdef{bind def}bind def/xdef{exch def}bdef
/ldef{load def}bdef/_IMmtx matrix def/ndef{1 index where{pop pop pop}{dup
xcheck{bind}if def}ifelse}bdef/setoverprint{pop}ndef/findcmykcustomcolor{5
/packedarray where{pop packedarray}{array astore readonly}ifelse}ndef
/findcmykprocesscolor{5/packedarray where{pop packedarray}{array astore
readonly}ifelse}ndef/setcmykcolor{1 sub 4 1 roll 3{3 index add neg dup 0 lt{
pop 0}if 3 1 roll}repeat systemdict/setrgbcolor get exec pop}ndef
/setcustomcolor{exch aload pop pop 4{4 index mul 4 1 roll}repeat setcmykcolor
pop}ndef/setprocesscolor{exch aload pop pop 4{4 index mul 4 1 roll}repeat
setcmykcolor pop}ndef/separationimage{image}ndef/iB^{/_imprcs? xdef/_imt xdef
dup null ne{_imprcs?{findcmykprocesscolor}{findcmykcustomcolor}ifelse}if/_imc
xdef _imc null eq{1 _imt sub setseparationgray}{_imprcs?{_imc _imt
setprocesscolor}{_imc _imt setcustomcolor}ifelse}ifelse}bdef/iA^{setoverprint}
bdef/level2/languagelevel where{pop languagelevel 1 ne}{false}ifelse def
/_colorexists? level2{statusdict/processcolors known{statusdict/processcolors
get exec}{1}ifelse 4 eq def}{systemdict/setcmykcolor known def}ifelse
/IMcolorbuf{0 1 2 index length 1 sub{dup 2 index exch get 255 exch sub 2 index
3 1 roll put}for}bdef/IMsetcmyk{aload pop/_ik xdef/_iy xdef/_im xdef/_ic xdef}
bdef/iC^{/packedarray where{pop dup type/packedarraytype eq 2 index type
/packedarraytype eq or}{false}ifelse{/proc2 exch cvlit def/proc1 exch cvlit
def proc1 aload pop proc2 aload pop proc1 length proc2 length add packedarray
cvx}{/proc2 exch cvlit def/proc1 exch cvlit def/newproc proc1 length proc2
length add array def newproc 0 proc1 putinterval newproc proc1 length proc2
putinterval newproc cvx}ifelse}bdef/currentcolortransfer{currenttransfer dup
dup dup}ndef/setcolortransfer{systemdict begin settransfer end pop pop pop}
ndef/customcolorimage{_colorexists?{aload pop pop 4 array astore IMsetcmyk
currentcolortransfer{_ik mul _ik sub 1 add}iC^ 4 1 roll{_iy mul _iy sub 1 add}
iC^ 4 1 roll{_im mul _im sub 1 add}iC^ 4 1 roll{_ic mul _ic sub 1 add}iC^ 4 1
roll setcolortransfer/_mbuf 0 string def/_ybuf 0 string def/_kbuf 0 string def
{IMcolorbuf dup length _mbuf length ne{dup length dup dup/_mbuf exch string
def/_ybuf exch string def/_kbuf exch string def}if dup _mbuf copy _ybuf copy
_kbuf copy pop}iC^{_mbuf}{_ybuf}{_kbuf}true 4 colorimage}{aload pop pop 4
array astore IMsetcmyk iE^ currenttransfer{_imtint mul 1 _imtint sub add}iC^
settransfer image}ifelse}ndef/iE^{_ic .3 mul _im .59 mul _iy .11 mul _ik add
add add dup 1 gt{pop 1}if/_imtint xdef}bdef/iF^{/_imprcs? xdef/_imspotint xdef
_colorexists?{currentcolortransfer{_imspotint mul 1 _imspotint sub add}iC^ 4 1
roll{_imspotint mul 1 _imspotint sub add}iC^ 4 1 roll{_imspotint mul 1
_imspotint sub add}iC^ 4 1 roll{_imspotint mul 1 _imspotint sub add}iC^ 4 1
roll setcolortransfer}{currenttransfer{_imspotint mul 1 _imspotint sub add}iC^
settransfer}ifelse findcmykcustomcolor customcolorimage}ndef/iG^{/inv xdef/h
xdef/w xdef/AsBin xdef/imbuf w 7 add 8 idiv string def w h inv[1 0 0 1 0 0]{
currentfile imbuf AsBin{readstring}{readhexstring}ifelse pop}imagemask}bdef
/isCL^{/AsProcess xdef/TintPercent xdef/ColorName xdef/_k xdef/_y xdef/_m xdef
/_c xdef/OverPrint xdef/bits xdef/h xdef/w xdef/AsBin xdef/imbuf w bits mul 7
add 8 idiv string def w h bits[1 0 0 1 0 0]{currentfile imbuf AsBin{readstring
}{readhexstring}ifelse pop}OverPrint iA^ _c _m _y _k ColorName TintPercent
AsProcess iF^}bdef/iI^{/OverPrint xdef/bits xdef/h xdef/w xdef/AsBin xdef
/imbuf w bits mul 7 add 8 idiv string def w h bits[1 0 0 1 0 0]{currentfile
imbuf AsBin{readstring}{readhexstring}ifelse pop}OverPrint iA^ separationimage
}bdef/iJ^{/bits xdef/h xdef/w xdef/AsBin xdef/imbuf w bits mul 3 mul 7 add 8
idiv string def w h bits[1 0 0 1 0 0]{currentfile imbuf AsBin{readstring}{
readhexstring}ifelse pop}false 3 colorimage}bdef/iK^{/bits xdef/h xdef/w xdef
/AsBin xdef/imbuf w bits mul 4 mul 7 add 8 idiv string def w h bits[1 0 0 1 0
0]{currentfile imbuf AsBin{readstring}{readhexstring}ifelse pop}false 4
colorimage}bdef end
%%EndResource